home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10824 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 53 |c.Subjec|t: Re: S|
|00000080| 74 72 69 6e 67 20 55 70 | 70 65 72 2f 4c 6f 77 65 |tring Up|per/Lowe|
|00000090| 72 2d 2d 76 6f 69 64 20 | 6d 61 69 6e 20 61 6e 20 |r--void |main an |
|000000a0| 65 72 72 6f 72 3f 0a 44 | 61 74 65 3a 20 57 65 64 |error?.D|ate: Wed|
|000000b0| 2c 20 32 30 20 4d 61 72 | 20 31 39 39 36 20 30 32 |, 20 Mar| 1996 02|
|000000c0| 3a 32 35 3a 30 37 20 2d | 30 36 30 30 0a 4f 72 67 |:25:07 -|0600.Org|
|000000d0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 55 6e 69 76 65 |anizatio|n: Unive|
|000000e0| 72 73 69 74 79 20 6f 66 | 20 49 6f 77 61 2c 20 49 |rsity of| Iowa, I|
|000000f0| 6f 77 61 20 43 69 74 79 | 2c 20 49 41 2c 20 55 53 |owa City|, IA, US|
|00000100| 41 0a 44 69 73 74 72 69 | 62 75 74 69 6f 6e 3a 20 |A.Distri|bution: |
|00000110| 77 6f 72 6c 64 0a 4d 65 | 73 73 61 67 65 2d 49 44 |world.Me|ssage-ID|
|00000120| 3a 20 3c 50 69 6e 65 2e | 41 33 32 2e 33 2e 39 31 |: <Pine.|A32.3.91|
|00000130| 2e 39 36 30 33 32 30 30 | 32 31 37 33 31 2e 38 37 |.9603200|21731.87|
|00000140| 30 32 38 44 2d 31 30 30 | 30 30 30 40 72 65 64 2e |028D-100|000@red.|
|00000150| 77 65 65 67 2e 75 69 6f | 77 61 2e 65 64 75 3e 0a |weeg.uio|wa.edu>.|
|00000160| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 69 66 |Referenc|es: <4if|
|00000170| 72 61 36 24 35 32 69 40 | 73 63 69 70 69 6f 2e 63 |ra6$52i@|scipio.c|
|00000180| 79 62 65 72 73 74 6f 72 | 65 2e 63 61 3e 20 3c 44 |yberstor|e.ca> <D|
|00000190| 6f 46 41 32 34 2e 41 4c | 37 40 69 71 75 65 73 74 |oFA24.AL|7@iquest|
|000001a0| 2e 6e 65 74 3e 20 3c 34 | 69 69 31 6e 68 24 62 6e |.net> <4|ii1nh$bn|
|000001b0| 67 40 63 61 73 74 6c 65 | 2e 6e 61 6e 64 6f 2e 6e |g@castle|.nando.n|
|000001c0| 65 74 3e 20 3c 34 69 6e | 69 37 30 24 38 6a 40 76 |et> <4in|i70$8j@v|
|000001d0| 6f 64 6b 61 2e 69 6e 74 | 65 6c 65 2e 6e 65 74 3e |odka.int|ele.net>|
|000001e0| 0a 4e 4e 54 50 2d 50 6f | 73 74 69 6e 67 2d 48 6f |.NNTP-Po|sting-Ho|
|000001f0| 73 74 3a 20 72 65 64 2e | 77 65 65 67 2e 75 69 6f |st: red.|weeg.uio|
|00000200| 77 61 2e 65 64 75 0a 4d | 69 6d 65 2d 56 65 72 73 |wa.edu.M|ime-Vers|
|00000210| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000220| 2d 54 79 70 65 3a 20 54 | 45 58 54 2f 50 4c 41 49 |-Type: T|EXT/PLAI|
|00000230| 4e 3b 20 63 68 61 72 73 | 65 74 3d 55 53 2d 41 53 |N; chars|et=US-AS|
|00000240| 43 49 49 0a 58 2d 53 65 | 6e 64 65 72 3a 20 72 6f |CII.X-Se|nder: ro|
|00000250| 62 69 6e 73 6f 6e 40 72 | 65 64 2e 77 65 65 67 2e |binson@r|ed.weeg.|
|00000260| 75 69 6f 77 61 2e 65 64 | 75 0a 49 6e 2d 52 65 70 |uiowa.ed|u.In-Rep|
|00000270| 6c 79 2d 54 6f 3a 20 3c | 34 69 6e 69 37 30 24 38 |ly-To: <|4ini70$8|
|00000280| 6a 40 76 6f 64 6b 61 2e | 69 6e 74 65 6c 65 2e 6e |j@vodka.|intele.n|
|00000290| 65 74 3e 20 0a 0a 4f 6e | 20 32 30 20 4d 61 72 20 |et> ..On| 20 Mar |
|000002a0| 31 39 39 36 2c 20 4a 61 | 73 6f 6e 20 56 2e 20 4d |1996, Ja|son V. M|
|000002b0| 6f 72 67 61 6e 20 77 72 | 6f 74 65 3a 0a 3e 20 49 |organ wr|ote:.> I|
|000002c0| 20 64 6f 6e 27 74 20 74 | 68 69 6e 67 20 74 68 61 | don't t|hing tha|
|000002d0| 74 20 76 6f 69 64 20 6d | 61 69 6e 20 69 73 20 72 |t void m|ain is r|
|000002e0| 65 61 6c 6c 79 20 63 6f | 6e 73 69 64 65 72 65 64 |eally co|nsidered|
|000002f0| 20 74 6f 20 62 65 20 61 | 6e 20 65 72 72 6f 72 2e | to be a|n error.|
|00000300| 0a 0a 20 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 74 |.. You |should t|
|00000310| 68 69 6e 67 20 6f 74 68 | 65 72 77 69 73 65 2e 20 |hing oth|erwise. |
|00000320| 20 52 65 61 64 20 74 68 | 65 20 46 41 51 2e 0a 0a | Read th|e FAQ...|
|00000330| 3e 20 20 52 65 74 75 72 | 6e 20 76 61 6c 75 65 73 |> Retur|n values|
|00000340| 20 61 72 65 20 6f 6e 6c | 79 20 72 65 61 6c 6c 79 | are onl|y really|
|00000350| 20 6e 65 63 65 73 73 61 | 72 79 20 69 66 20 74 68 | necessa|ry if th|
|00000360| 65 79 27 72 65 20 67 6f | 69 6e 67 20 74 6f 20 6d |ey're go|ing to m|
|00000370| 65 61 6e 20 61 6e 79 74 | 68 69 6e 67 2e 0a 0a 20 |ean anyt|hing... |
|00000380| 20 3f 3f 3f 3f 3f 0a 0a | 3e 20 20 49 74 20 69 73 | ?????..|> It is|
|00000390| 20 63 6f 6d 70 69 6c 61 | 62 6c 65 20 28 6d 61 79 | compila|ble (may|
|000003a0| 62 65 20 49 27 6d 20 77 | 72 6f 6e 67 20 61 6e 64 |be I'm w|rong and|
|000003b0| 20 69 74 27 73 20 6e 6f | 74 20 70 6f 72 74 61 62 | it's no|t portab|
|000003c0| 6c 65 29 2e 0a 0a 20 20 | 59 6f 75 27 72 65 20 77 |le)... |You're w|
|000003d0| 72 6f 6e 67 2e 20 20 44 | 45 43 20 43 20 72 65 66 |rong. D|EC C ref|
|000003e0| 75 73 65 73 20 74 6f 20 | 63 6f 6d 70 69 6c 65 20 |uses to |compile |
|000003f0| 69 74 20 65 76 65 6e 20 | 5f 77 69 74 68 6f 75 74 |it even |_without|
|00000400| 5f 20 73 74 72 69 63 74 | 20 41 4e 53 49 20 0a 63 |_ strict| ANSI .c|
|00000410| 6f 6d 70 6c 69 61 6e 63 | 65 20 74 75 72 6e 65 64 |omplianc|e turned|
|00000420| 20 6f 6e 2e 0a 0a 3e 20 | 41 74 20 6c 65 61 73 74 | on...> |At least|
|00000430| 20 69 74 20 77 61 73 20 | 64 65 63 6c 61 72 65 64 | it was |declared|
|00000440| 20 76 6f 69 64 20 73 6f | 20 69 74 20 64 69 64 6e | void so| it didn|
|00000450| 27 74 20 64 65 66 61 75 | 6c 74 20 74 6f 20 61 6e |'t defau|lt to an|
|00000460| 20 69 6e 74 2e 0a 0a 20 | 20 6d 61 69 6e 28 29 20 | int... | main() |
|00000470| 69 73 20 5f 73 75 70 70 | 6f 73 65 64 5f 20 74 6f |is _supp|osed_ to|
|00000480| 20 72 65 74 75 72 6e 20 | 69 6e 74 2e 20 20 41 6e | return |int. An|
|00000490| 79 74 68 69 6e 67 20 74 | 68 61 74 20 63 61 75 73 |ything t|hat caus|
|000004a0| 65 73 20 69 74 20 74 6f | 20 68 61 76 65 20 0a 61 |es it to| have .a|
|000004b0| 6e 79 20 6f 74 68 65 72 | 20 72 65 74 75 72 6e 20 |ny other| return |
|000004c0| 74 79 70 65 20 69 73 20 | 6e 6f 6e 70 6f 72 74 61 |type is |nonporta|
|000004d0| 62 6c 65 2c 20 61 6e 64 | 20 72 65 73 75 6c 74 73 |ble, and| results|
|000004e0| 20 69 6e 20 75 6e 64 65 | 66 69 6e 65 64 20 62 65 | in unde|fined be|
|000004f0| 68 61 76 69 6f 72 2e 0a | 0a 3e 20 20 59 6f 75 20 |havior..|.> You |
|00000500| 6d 69 67 68 74 20 61 73 | 20 77 65 6c 6c 20 73 61 |might as| well sa|
|00000510| 79 20 74 68 61 74 20 69 | 74 27 73 20 61 6e 20 65 |y that i|t's an e|
|00000520| 72 72 6f 72 20 20 62 65 | 63 61 75 73 65 20 61 72 |rror be|cause ar|
|00000530| 67 63 2c 20 61 72 67 76 | 2c 20 61 6e 64 20 65 6e |gc, argv|, and en|
|00000540| 76 20 0a 3e 20 77 65 72 | 65 6e 27 74 20 70 61 73 |v .> wer|en't pas|
|00000550| 73 65 64 20 28 74 6f 20 | 62 65 20 68 6f 6e 65 73 |sed (to |be hones|
|00000560| 74 2c 20 49 27 6d 20 6e | 6f 74 20 73 75 72 65 20 |t, I'm n|ot sure |
|00000570| 69 66 20 65 6e 76 20 69 | 73 20 61 63 74 75 61 6c |if env i|s actual|
|00000580| 6c 79 20 73 74 61 6e 64 | 61 72 64 2c 20 0a 3e 20 |ly stand|ard, .> |
|00000590| 49 20 67 6f 74 20 69 74 | 20 66 72 6f 6d 20 74 68 |I got it| from th|
|000005a0| 65 20 70 72 6f 67 72 61 | 6d 6d 65 72 27 73 20 72 |e progra|mmer's r|
|000005b0| 65 66 65 72 65 6e 63 65 | 2c 20 6e 6f 74 20 74 68 |eference|, not th|
|000005c0| 65 20 73 74 61 6e 64 61 | 72 64 29 2e 0a 0a 20 20 |e standa|rd)... |
|000005d0| 65 6e 76 70 20 69 73 20 | 6e 6f 74 20 73 74 61 6e |envp is |not stan|
|000005e0| 64 61 72 64 2c 20 62 75 | 74 20 73 69 6e 63 65 20 |dard, bu|t since |
|000005f0| 69 6e 74 20 6d 61 69 6e | 28 76 6f 69 64 29 20 61 |int main|(void) a|
|00000600| 6e 64 20 69 6e 74 20 6d | 61 69 6e 28 69 6e 74 2c |nd int m|ain(int,|
|00000610| 0a 63 68 61 72 20 2a 2a | 29 20 61 72 65 20 62 6f |.char **|) are bo|
|00000620| 74 68 20 6c 65 67 61 6c | 20 70 72 6f 74 6f 74 79 |th legal| prototy|
|00000630| 70 65 73 20 66 6f 72 20 | 6d 61 69 6e 28 29 2c 20 |pes for |main(), |
|00000640| 79 6f 75 27 72 65 20 77 | 72 6f 6e 67 20 61 67 61 |you're w|rong aga|
|00000650| 69 6e 2e 0a 0a 20 20 54 | 68 65 20 46 41 51 20 69 |in... T|he FAQ i|
|00000660| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 76 69 61 20 |s availa|ble via |
|00000670| 61 6e 6f 6e 79 6d 6f 75 | 73 20 66 74 70 20 66 72 |anonymou|s ftp fr|
|00000680| 6f 6d 20 72 74 66 6d 2e | 6d 69 74 2e 65 64 75 20 |om rtfm.|mit.edu |
|00000690| 69 6e 20 74 68 65 20 0a | 64 69 72 65 63 74 6f 72 |in the .|director|
|000006a0| 79 20 2f 70 75 62 2f 75 | 73 65 6e 65 74 2d 62 79 |y /pub/u|senet-by|
|000006b0| 2d 67 72 6f 75 70 2f 63 | 6f 6d 70 2e 6c 61 6e 67 |-group/c|omp.lang|
|000006c0| 2e 63 2e 0a 0a 2f 2a 2a | 4a 61 6d 65 73 20 52 6f |.c.../**|James Ro|
|000006d0| 62 69 6e 73 6f 6e 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |binson**|********|
|000006e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 20 20 20 |********|***** |
|000006f0| 20 20 20 20 20 20 20 20 | 20 0a 20 20 22 49 66 20 | | . "If |
|00000700| 61 20 66 61 74 61 6c 20 | 65 72 72 6f 72 20 6f 63 |a fatal |error oc|
|00000710| 63 75 72 73 2c 20 74 68 | 65 20 70 72 6f 67 72 61 |curs, th|e progra|
|00000720| 6d 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |m should| not be |
|00000730| 61 6c 6c 6f 77 65 64 20 | 74 6f 20 63 6f 6e 74 69 |allowed |to conti|
|00000740| 6e 75 65 2e 22 0a 20 2d | 2d 20 4f 72 61 63 6c 65 |nue.". -|- Oracle|
|00000750| 20 50 72 6f 2a 43 20 55 | 73 65 72 27 73 20 47 75 | Pro*C U|ser's Gu|
|00000760| 69 64 65 20 20 20 20 20 | 20 20 20 20 2a 2a 2a 2a |ide | ****|
|00000770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 6a 61 6d 65 73 2d 72 |********|*james-r|
|00000780| 6f 62 69 6e 73 6f 6e 40 | 75 69 6f 77 61 2e 65 64 |obinson@|uiowa.ed|
|00000790| 75 2a 2a 2f 0a | |u**/. | |
+--------+-------------------------+-------------------------+--------+--------+